  // options = {
  //   scrollY: true, //是否竖向滚动
  //   scrollX: false, //是否横向滚动
  //   startX: 0, //初始化时滚动至x
  //   startY: 0, //初始化时滚动至y
  //   indicators: true, //是否显示滚动条
  //   deceleration:0.0006, //阻尼系数,系数越小滑动越灵敏
  //   bounce: true //是否启用回弹
  //  }
   mui('.mui-scroll-wrapper').scroll({
    indicators: false,
  });

  
  //获得slider插件对象
  var gallery = mui('.mui-slider');
  gallery.slider({
    interval:2000//自动轮播周期，若为0则不自动播放，默认为0；
});

  // 封装一个获取key的方法
  function getSearch(){
    var search = location.search;
    search = decodeURI(search);
    var obj = {};
    search = search.slice(1);
    search = search.split("&");
    for(var i = 0;i<search.length;i++){
     var key = search[i].split("=")[0];
     var value = search[i].split("=")[1];
      obj[key] = value;
    }
    return obj;
  }
